<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>智慧配镜 - 修改密码</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        .mockup {
            border: 2px solid #e5e7eb;
            border-radius: 1rem;
            overflow: hidden;
        }
        .password-strength {
            height: 4px;
            transition: all 0.3s ease;
        }
        .strength-weak {
            background-color: #ef4444;
            width: 33%;
        }
        .strength-medium {
            background-color: #f59e0b;
            width: 66%;
        }
        .strength-strong {
            background-color: #10b981;
            width: 100%;
        }
    </style>
</head>
<body class="bg-gradient-to-br from-blue-50 to-blue-100 min-h-screen p-8">
    <div class="mockup w-[400px] h-[600px]">
        <div class="h-full flex flex-col glass-effect">
            <!-- 顶部导航 -->
            <div class="p-4 border-b border-gray-200">
                <div class="flex items-center">
                    <button class="mr-4 p-2 rounded-full hover:bg-gray-100">
                        <img src="https://unpkg.com/lucide-static@latest/icons/arrow-left.svg" class="w-6 h-6">
                    </button>
                    <h1 class="text-xl font-bold text-blue-800">修改密码</h1>
                </div>
            </div>

            <!-- 密码修改表单 -->
            <div class="flex-1 overflow-y-auto p-4">
                <form class="space-y-6">
                    <!-- 当前密码 -->
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">当前密码</label>
                        <div class="relative">
                            <input type="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="请输入当前密码">
                            <button type="button" class="absolute right-3 top-1/2 transform -translate-y-1/2">
                                <img src="https://unpkg.com/lucide-static@latest/icons/eye.svg" class="w-5 h-5 text-gray-400">
                            </button>
                        </div>
                    </div>

                    <!-- 新密码 -->
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">新密码</label>
                        <div class="relative">
                            <input type="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="请输入新密码">
                            <button type="button" class="absolute right-3 top-1/2 transform -translate-y-1/2">
                                <img src="https://unpkg.com/lucide-static@latest/icons/eye.svg" class="w-5 h-5 text-gray-400">
                            </button>
                        </div>
                        <div class="mt-2">
                            <div class="password-strength strength-weak rounded-full"></div>
                            <p class="text-xs text-gray-500 mt-1">密码强度：弱</p>
                        </div>
                        <ul class="mt-2 text-xs text-gray-500 space-y-1">
                            <li class="flex items-center">
                                <img src="https://unpkg.com/lucide-static@latest/icons/check.svg" class="w-4 h-4 mr-1 text-green-500">
                                至少8个字符
                            </li>
                            <li class="flex items-center">
                                <img src="https://unpkg.com/lucide-static@latest/icons/x.svg" class="w-4 h-4 mr-1 text-red-500">
                                包含大小写字母
                            </li>
                            <li class="flex items-center">
                                <img src="https://unpkg.com/lucide-static@latest/icons/x.svg" class="w-4 h-4 mr-1 text-red-500">
                                包含数字或特殊字符
                            </li>
                        </ul>
                    </div>

                    <!-- 确认密码 -->
                    <div>
                        <label class="block text-sm font-medium text-gray-700 mb-1">确认新密码</label>
                        <div class="relative">
                            <input type="password" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500" placeholder="请再次输入新密码">
                            <button type="button" class="absolute right-3 top-1/2 transform -translate-y-1/2">
                                <img src="https://unpkg.com/lucide-static@latest/icons/eye.svg" class="w-5 h-5 text-gray-400">
                            </button>
                        </div>
                    </div>

                    <!-- 提交按钮 -->
                    <div class="pt-4">
                        <button type="submit" class="w-full py-3 text-white bg-blue-600 rounded-lg hover:bg-blue-700">
                            确认修改
                        </button>
                    </div>
                </form>
            </div>

            <!-- 底部导航 -->
            <div class="p-4 border-t border-gray-200">
                <div class="flex justify-between items-center">
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/home.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">首页</span>
                    </button>
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/package.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">商品</span>
                    </button>
                    <button class="px-4 py-2 text-gray-600 hover:text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/clipboard-list.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">订单</span>
                    </button>
                    <button class="px-4 py-2 text-blue-600">
                        <img src="https://unpkg.com/lucide-static@latest/icons/user.svg" class="w-6 h-6 mx-auto">
                        <span class="text-xs mt-1">我的</span>
                    </button>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 